#include <iostream>
#include <QApplication>
#include "DownloadWindow.h"
#include <QStyleFactory>
using namespace bap;
int main(int argc, char **argv)
{
	QApplication app(argc, argv);
	#ifdef WIN32
	app.setStyle(QStyleFactory::create("WindowsVista"));
	#endif
	std::string version =argv[1];
    std::cout<<"test1"<<std::endl;

	DownloadWindow window;
	window.setVersion(version);
	window.show();
	app.exec();

	return 0;
}